package freedom.ms.auth.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import freedom.ms.auth.entity.Menu;

public interface MenuService {
	
	Page<Menu> findAll(Pageable pageable);
	
	Page<Menu> findAll(Menu menu, Pageable pageable);
	
	List<Menu> findAll();
	
	List<Menu> reloadAll();
	
	Menu get(Long id);
	
	Menu insert(Menu menu);
	
	Menu update(Menu menu);
	
	void delete(Long id);


}
